﻿using InnoWeb.CEND.Core.Model.General;
using InnoWeb.CEND.Data.Mapping.BaseMapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnoWeb.CEND.Data.Mapping.General
{
    public class SliderContentMapping:BaseMappingConfiguration<SliderContent,int>
    {
        public SliderContentMapping()
        {
            this.Property(a => a.ImageUrl1).IsRequired();
            this.Property(a => a.ImageUrl2).IsRequired();
            this.Property(a => a.ImageUrl3).IsRequired();
            this.Property(a => a.ImageUrl4).IsRequired();
            this.Property(a => a.ImageUrl5).IsRequired();
            this.Property(a => a.DisplayOrder).IsRequired();
        }
    }
}
